package com.sensoro.study.lang;

import java.util.ArrayList;
import java.util.List;

public class StringStudy {

    public static void main(String[] args) {
        var list = new ArrayList<String>();
        List<Integer> integers = List.of(1, 2, 3, 4);
        List.copyOf(integers);

        // sout + enter
        System.out.println("  ".isBlank());
        System.out.println("  ".isEmpty());
        System.out.println("".isEmpty());
        System.out.println(" liasdfs ".strip());
        System.out.println(" liasdfs ".stripLeading());
        System.out.println(" liasdfs ".stripTrailing());
        System.out.println("OBFGKM".repeat(3));
        System.out.println("A\\nB\\nC".lines().count());
    }

}